package net.ericaro.neojavagen.expressions;

/**
 * <b>DimExpr</b> ::= "[" <{@link net .ericaro .neojavagen .expressions .Expression Expression}> "]"
 * 
 * @author eric@ericaro.net
 */
public class DimExpr extends net.ericaro.neojavagen.JavaPartComposition {
	private net.ericaro.neojavagen.expressions.Expression expression;

	public DimExpr(net.ericaro.neojavagen.expressions.Expression expression) {
		super();
		this.expression = expression;
	}

	public net.ericaro.neojavagen.expressions.Expression getExpression() {
		return expression;
	}

	public void setExpression(net.ericaro.neojavagen.expressions.Expression expression) {
		this.expression = expression;
	}

	@Override
	public java.lang.String toString() {
		return print("[", expression, "]");
	}
}
